// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './vuex/store'
import getToken from "./assets/js/getToken";
import Client from "./assets/js/common";
import Utils from "./assets/js/Utils";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'; 
import './assets/js/directives';
// import './assets/style/mintui.css'
Vue.config.productionTip = false

Vue.prototype.setVuex = function (key, val) {
  return this.$store.commit(key, val);
}



Vue.use(ElementUI, {
  size: 'small'
});
// Utils.routeExpire();

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
